import com.xucia.strands.Strands;


public class Main {
	public static void main(String... args) throws Exception {
		//service/proxy/blocking/BlockingProxyGenerator.js
		String out = Strands.compileFile("/Users/xmaf/Code/Java/workspace/TITT/javascript/titt2/TITT.js");
		while(out.indexOf("\n\n") != -1)
			out = out.replace("\n\n", "\n");
		while(out.startsWith("\n"))
			out = out.substring(1);
		while(out.endsWith("\n"))
			out = out.substring(0, out.length()-1);
		System.out.println(out);
	}
}
